package com.imooc.service;

import com.imooc.bo.SubmitOrderBo;
import com.imooc.pojo.OrderStatus;
import com.imooc.vo.OrderVO;

public interface OrderService {
    /**
     * 用于创建订单相关信息
     * @param submitOrderBo
     */
    OrderVO createOrder(SubmitOrderBo submitOrderBo);

    void updateOrderStatus(String orderId, Integer orderStatus);

    OrderStatus queryOrderInfo(String orderId);

    void closeOrder();
}
